package org.jeecg.modules.demo.basemembersharevip.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.jeecg.modules.demo.basemembersharevip.entity.BaseMemberShareVip;
import org.jeecg.modules.demo.basemembersharevip.mapper.BaseMemberShareVipMapper;
import org.jeecg.modules.demo.basemembersharevip.service.IBaseMemberShareVipService;
import org.springframework.stereotype.Service;

@Service
public class BaseMemberShareVipServiceImpl extends ServiceImpl<BaseMemberShareVipMapper, BaseMemberShareVip> implements IBaseMemberShareVipService {
    @Override
    public void deleteByRecordId(String id) {
        LambdaQueryWrapper<BaseMemberShareVip> wrapper = new LambdaQueryWrapper<>();
        wrapper.eq(BaseMemberShareVip::getRecordId,id);
        remove(wrapper);
    }
}
